package com.jgy.策略模式_注解版;

import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * @author 姜光远
 * @date 2023/11/18 11:49
 */
@Service(value = "way3")
public class StrategyWay3 implements Strategy{
    @Override
    public BigDecimal calculateTaks() {
        return new BigDecimal(900);
    }
}
